package com.ibeeking.found.open.service.common.query;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName MemberInfoQuery
 * @Description
 * @Author ibeeking
 * @Date 2021-01-25 14:45
 **/
@Data
public class OrderGoodsQuery implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 商品Id
     */
    @NotNull(message = "商品Id不能为空")
    private Long goodsId;

    /**
     * 商品skuId
     */
    @NotNull(message = "商品skuId不能为空")
    private Long goodsSkuId;

    /**
     * 商品数量
     */
    @NotNull(message = "商品数量")
    private Integer qty;

    /**
     * 商品单价
     */
    private BigDecimal price;
}
